Optimal. Leaf size=94 \[ -\frac {2 (B d-A e) \sqrt {a+b x}}{3 e (b d-a e) (d+e x)^{3/2}}+\frac {2 (b B d+2 A b e-3 a B e) \sqrt {a+b x}}{3 e (b d-a e)^2 \sqrt {d+e x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 94, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {79, 37}
\begin {gather*} \frac {2 \sqrt {a+b x} (-3 a B e+2 A b e+b B d)}{3 e \sqrt {d+e x} (b d-a e)^2}-\frac {2 \sqrt {a+b x} (B d-A e)}{3 e (d+e x)^{3/2} (b d-a e)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 79
Rubi steps
\begin {align*} \int \frac {A+B x}{\sqrt {a+b x} (d+e x)^{5/2}} \, dx &=-\frac {2 (B d-A e) \sqrt {a+b x}}{3 e (b d-a e) (d+e x)^{3/2}}+\frac {(b B d+2 A b e-3 a B e) \int \frac {1}{\sqrt {a+b x} (d+e x)^{3/2}} \, dx}{3 e (b d-a e)}\\ &=-\frac {2 (B d-A e) \sqrt {a+b x}}{3 e (b d-a e) (d+e x)^{3/2}}+\frac {2 (b B d+2 A b e-3 a B e) \sqrt {a+b x}}{3 e (b d-a e)^2 \sqrt {d+e x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 65, normalized size = 0.69 \begin {gather*} \frac {2 \sqrt {a+b x} (B (-2 a d+b d x-3 a e x)+A (3 b d-a e+2 b e x))}{3 (b d-a e)^2 (d+e x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 60, normalized size = 0.64
method | result | size |
default | \(-\frac {2 \sqrt {b x +a}\, \left (-2 A b e x +3 B a e x -B b d x +A a e -3 A b d +2 B a d \right )}{3 \left (e x +d \right )^{\frac {3}{2}} \left (a e -b d \right )^{2}}\) | \(60\) |
gosper | \(-\frac {2 \sqrt {b x +a}\, \left (-2 A b e x +3 B a e x -B b d x +A a e -3 A b d +2 B a d \right )}{3 \left (e x +d \right )^{\frac {3}{2}} \left (a^{2} e^{2}-2 b e a d +b^{2} d^{2}\right )}\) | \(73\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.98, size = 141, normalized size = 1.50 \begin {gather*} \frac {2 \, {\left (B b d x - {\left (2 \, B a - 3 \, A b\right )} d - {\left (A a + {\left (3 \, B a - 2 \, A b\right )} x\right )} e\right )} \sqrt {b x + a} \sqrt {x e + d}}{3 \, {\left (b^{2} d^{4} + a^{2} x^{2} e^{4} - 2 \, {\left (a b d x^{2} - a^{2} d x\right )} e^{3} + {\left (b^{2} d^{2} x^{2} - 4 \, a b d^{2} x + a^{2} d^{2}\right )} e^{2} + 2 \, {\left (b^{2} d^{3} x - a b d^{3}\right )} e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {A + B x}{\sqrt {a + b x} \left (d + e x\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 179 vs.
\(2 (87) = 174\).
time = 0.92, size = 179, normalized size = 1.90 \begin {gather*} \frac {2 \, \sqrt {b x + a} {\left (\frac {{\left (B b^{4} d {\left | b \right |} e - 3 \, B a b^{3} {\left | b \right |} e^{2} + 2 \, A b^{4} {\left | b \right |} e^{2}\right )} {\left (b x + a\right )}}{b^{4} d^{2} e - 2 \, a b^{3} d e^{2} + a^{2} b^{2} e^{3}} - \frac {3 \, {\left (B a b^{4} d {\left | b \right |} e - A b^{5} d {\left | b \right |} e - B a^{2} b^{3} {\left | b \right |} e^{2} + A a b^{4} {\left | b \right |} e^{2}\right )}}{b^{4} d^{2} e - 2 \, a b^{3} d e^{2} + a^{2} b^{2} e^{3}}\right )}}{3 \, {\left (b^{2} d + {\left (b x + a\right )} b e - a b e\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.04, size = 169, normalized size = 1.80 \begin {gather*} \frac {\sqrt {d+e\,x}\,\left (\frac {x\,\left (6\,A\,b^2\,d-6\,B\,a^2\,e+2\,A\,a\,b\,e-2\,B\,a\,b\,d\right )}{3\,e^2\,{\left (a\,e-b\,d\right )}^2}-\frac {2\,A\,a^2\,e+4\,B\,a^2\,d-6\,A\,a\,b\,d}{3\,e^2\,{\left (a\,e-b\,d\right )}^2}+\frac {x^2\,\left (4\,A\,b^2\,e+2\,B\,b^2\,d-6\,B\,a\,b\,e\right )}{3\,e^2\,{\left (a\,e-b\,d\right )}^2}\right )}{x^2\,\sqrt {a+b\,x}+\frac {d^2\,\sqrt {a+b\,x}}{e^2}+\frac {2\,d\,x\,\sqrt {a+b\,x}}{e}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________